\begin{tikzpicture}[>=Stealth, scale=0.5,
    every node/.style={fill=white, inner sep=1pt},
]
    \draw [->] (-3, 0) -- (5, 0) node[below=0.2em] {$x$} coordinate(x axis);
    \draw [->] (0, -2) -- (0, 7) node[left=0.2em]  {$y$} coordinate(y axis);
    \draw (0, 0) node [below left=0.3em] {\small $O$};

    \draw[domain=-1.3:3.3,  samples=50] plot (\x, {(\x)^2 - 2*\x + 2});

    \draw (1.5, 0.6) node {\small $y > 0$};
\end{tikzpicture}

